package com.example.nfc.dialog;

import android.content.Context;

import com.example.nfc.server.response.Card;

/**
 * 提示框
 */
public class AlertDialog extends BaseDialog{

    public String data;
    public Card card;
    public AlertDialog(Context context) {
        super(context);
        setSubmitTxt("重新烧录").setCancelTxt("取消");
    }

    public void setData(String title,String content){
        setTitle(title).setContent(content);
    }

    @Override
    public void onClose() {

    }

    @Override
    public boolean onCancel() {
        return true;
    }

    @Override
    public boolean onSubmit() {
        return true;
    }

}
